<div class="main_box">
        <div class="add_question_box">
                <form action="batchquestion.php" method="post" enctype="multipart/form-data" onsubmit="checkbox(new array(new array('uploadifle','你必须上传选择一个文件!')))">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="question_list_db">
                                <tbody>
                                        <tr>
                                            <td width="20%" align="right">选择试题库:</td>
                                            <td class="tdleft">
                                                <select name="tiku">
                                                    <?php 
                                                    $query = $db->query("select * from nettteach_tiku where t_createuid=".$teacher_id);
                                                    while($row = $db->fetch_array($query)){?>
                                                        <option value="<?php echo $row['t_id']?>"><?php echo $row['t_name']?></option>
                                                    <?php
                                                    }?>
                                                </select>
                                            </td>
                                            <td>&nbsp;</td>
                                        </tr>
                                        <tr><td align="right">批量上传:</td><td class="tdleft"><input id="uploadifle" type="file" name="file" /></td><td>请上传xls格式(excel 2003),<a href="./uploadfilesplace/data.xls">下载模板</a></td></tr>
                                        <tr><td colspan="3" align="center"><input type="submit" name="submit" value="提交" class="button"/></td><td>&nbsp;</td></tr>
                                </tbody>
                        </table>
                </form>
        </div>
</div>

